import tushare as ts

token = 'cc2e43c070894ec7af9748f1aef246025e993bd57b7f77c89f791fd5'
ts.set_token(token)
pro = ts.pro_api()
pro = ts.pro_api(token)

df = pro.trade_cal(exchange='', start_date='20180901', end_date='20181001',
                   fields='exchange,cal_date,is_open,pretrade_date', is_open='0')

print(df)